The Source Control Integration API > The source control integration API optional functions > SCS_UndoCheckout()

 

SCS_UndoCheckout()

Description

Undoes the checkout status of a list of files or folders. The DLL is responsible for making the file read-only. If unsupported by the source control system and this feature is enabled by the user, uses the Dreamweaver internal checkin/out functionality, which transports .lck files to/from the source control system.

Arguments

connectionData, remotePathList, localPathList, successList, numItems

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePathList is a list of fully qualified remote file or folder paths on which to undo the check out.
localPathList is a mirrored list of fully qualified local file or folder paths.
successList is a list of Boolean values populated by the DLL to let Dreamweaver know which corresponding files' check outs were successfully undone.
numItems is the number of items in each list.

Returns

true if successful, false if not.